﻿@model ADShop.Models.InfoMember

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

@*<fieldset>
    <legend>InfoMember</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Member.UserEmail)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Member.UserEmail)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.FirstName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.LastName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LastName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Fax)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Fax)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.NumberPhone)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NumberPhone)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.NumberCardMember)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NumberCardMember)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Company)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Company)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Representative)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Representative)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.TaxCode)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TaxCode)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Address)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Address)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) |
    @Html.ActionLink("Back to List", "Index")
</p>*@
<div class="panel-body">
    <table class="table table-hover" id="sample-table-1">
        <thead>
            <tr>

                <th>@Html.DisplayNameFor(model => model.Member.UserEmail)</th> 
                <th>@Html.DisplayNameFor(model => model.FirstName)</th>
                <th>@Html.DisplayNameFor(model => model.LastName)</th>
                <th>@Html.DisplayNameFor(model => model.Fax)</th>
                <th>@Html.DisplayNameFor(model => model.NumberPhone)</th>
                <th>@Html.DisplayNameFor(model => model.NumberCardMember)</th>
                <th>@Html.DisplayNameFor(model => model.Company)</th>
                <th>@Html.DisplayNameFor(model => model.Representative)</th>
                <th>@Html.DisplayNameFor(model => model.TaxCode)</th>
                <th>@Html.DisplayNameFor(model => model.Address)</th>

            </tr>
        </thead>
        <tbody>
            <tr>
                <td>
                    <div class="editor-field">
                      @Html.DisplayFor(model => model.Member.UserEmail)
                    </div>
                </td>

                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.FirstName)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.LastName)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.Fax)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.NumberPhone)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.NumberCardMember)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.Company)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.Representative)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.TaxCode)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.Address)
                    </div>
                </td>

            </tr>

        </tbody>
    </table>
</div>

<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.UserID }, new { @class = "label label-default" }) |
    @Html.ActionLink("Quay lại danh sách khách hàng", "Index",null, new { @class = "label label-default" })
</p>
